
* {
    list-style: none;
    margin: 0;
    padding: 0;
    text-decoration: none;
     /*滚动条整体样式*/
     ::-webkit-scrollbar {
        width : 10px;  /*高宽分别对应横竖滚动条的尺寸*/
        height: 1px;
    }
    /*滚动条里面小方块*/
    ::-webkit-scrollbar-thumb { 
        box-shadow   : inset 0 0 5px rgba(0, 0, 0, 0.2);
        background   : #49b1f5;
    }
}
body {
    position: relative;
    font-size: 16px;
    line-height: 2;
    color: #555;
    background: #fff;
    .header {
        height: 40vh;
    }
    header {//头部
        overflow: hidden;
        position: relative;
        z-index: 10000;
        clear:both;
        width: 100%;
        height: 100vh;
        background-attachment: fixed;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        transition: all 0.5s;
        h1 {
            position: fixed;
            top: 0;
            left: 0;
            font-size: 22px;
            display: inline-block;
            line-height: 36px;
            color: #fff;
            border: 2px solid #fff;
            border-left: 0;
            border-right: 0;
            transition: all .5s;
        }
        .nav {
            background-color: rgba($color: #fff, $alpha: .5);
            h1 {
                color: #000;
                border-color: #000;
            }
        }
        nav {
            position: fixed;
            width: 100%;
            top: 0;
            right: 0;
            display: inline-block;
            top: -5px;
            transition: all 0.5s;
            ul {
                float: right;
                margin: 8px 0 0 0;
                padding-left: 0;
                text-align: center;
                li {
                    display: inline-block;
                    margin-left: 5px;
                    max-width: 62px;
                    a {
                        text-align: center;
                        width: 42px;
                        color: #fff;
                        text-decoration: none;
                        outline: none;
                        word-wrap: break-word;
                        padding: 0 10px;border: none;
                        border-radius: 2px;
                        display: block;
                        font-size: 13px;
                        line-height: inherit;
                        transition-duration: 0.2s;
                        transition-timing-function: ease-in-out;
                        transition-delay: 0s;
                        span {
                            display: none;
                        }
                        &:hover {
                            background: #e1e1e1;
                            border-bottom-color: #222;
                            color: #222;
                            outline: 0;
                            span {
                                display: inline;
                            }
                        }
                    }
                    .active {
                        background: #e1e1e1;
                        border-bottom-color: #222;
                        color: #222;
                        outline: 0;
                        span {
                            display: inline;
                        }
                    }
                    button {
                        width: 34px;
                        height: 34px;
                        outline: 0;
                        border:0;
                        position: absolute;
                        top: 10px;
                        right: 15px;
                        background-color: rgba(0,0,0,0);
                        cursor: pointer;
                        z-index: 1000;
                        svg {
                            width: 50%;
                            height: 50%;
                        }
                    }
                    input {
                        height: 24px;
                        padding: 5px;
                        transform: scaleX(0);
                        transition-duration: 0.2s;
                        transition-timing-function: ease-in-out;
                        transition-delay: 0s;
                    }
                    &:hover {
                        max-width: max-content;
                        input {
                            transform: scaleX(1);
                        }
                    }
                }
            }
        }
        .header-title {
            position: absolute;
            top: 43%;
            padding: 0 0.5rem;
            width: 100%;
            h2 { 
                color: #fff;
                text-align: center;
                text-shadow: 2px 2px 4px rbga(0,0,0,.3);
                line-height: 1.5;
                font-size: 30px;
            }
        }
        .header-btn {
            position: absolute;
            bottom: 10px;
            text-align: center;
            width: 100%;
            height: 20px;
            font-weight: 700;
            font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
            cursor: pointer;
            i {
                width: 30px;
                height: 30px;
                font-size: 30px;
                display: inline-block;
                transform: rotate(90deg);
                color: rgba(255,255,255,.4); 
                transition-duration: .3s;
                transition-timing-function: ease-in-out;
                transition-delay: 0s;
            }
            &:hover {
                i {
                    color: rgba(255,255,255,1);
                }
            }
        }
    }
}
//返回按钮
.top-bottom {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    cursor: pointer;
    outline: 0;
    border: 0;
}
